Optimal. Leaf size=197 \[ \frac{183 \sqrt{3} \sqrt{-3 x^2-5 x-2} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right ),-\frac{2}{3}\right )}{1750 \sqrt{3 x^2+5 x+2}}+\frac{\sqrt{3 x^2+5 x+2} (139 x+46)}{175 (2 x+3)^{7/2}}+\frac{159 \sqrt{3 x^2+5 x+2}}{625 \sqrt{2 x+3}}+\frac{183 \sqrt{3 x^2+5 x+2}}{875 (2 x+3)^{3/2}}-\frac{159 \sqrt{3} \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{1250 \sqrt{3 x^2+5 x+2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.135514, antiderivative size = 197, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {810, 834, 843, 718, 424, 419} \[ \frac{\sqrt{3 x^2+5 x+2} (139 x+46)}{175 (2 x+3)^{7/2}}+\frac{159 \sqrt{3 x^2+5 x+2}}{625 \sqrt{2 x+3}}+\frac{183 \sqrt{3 x^2+5 x+2}}{875 (2 x+3)^{3/2}}+\frac{183 \sqrt{3} \sqrt{-3 x^2-5 x-2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{1750 \sqrt{3 x^2+5 x+2}}-\frac{159 \sqrt{3} \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{1250 \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 810
Rule 834
Rule 843
Rule 718
Rule 424
Rule 419
Rubi steps
\begin{align*} \int \frac{(5-x) \sqrt{2+5 x+3 x^2}}{(3+2 x)^{9/2}} \, dx &=\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}-\frac{1}{350} \int \frac{-270-363 x}{(3+2 x)^{5/2} \sqrt{2+5 x+3 x^2}} \, dx\\ &=\frac{183 \sqrt{2+5 x+3 x^2}}{875 (3+2 x)^{3/2}}+\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}+\frac{\int \frac{\frac{801}{2}+\frac{1647 x}{2}}{(3+2 x)^{3/2} \sqrt{2+5 x+3 x^2}} \, dx}{2625}\\ &=\frac{183 \sqrt{2+5 x+3 x^2}}{875 (3+2 x)^{3/2}}+\frac{159 \sqrt{2+5 x+3 x^2}}{625 \sqrt{3+2 x}}+\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}-\frac{2 \int \frac{2727+\frac{10017 x}{4}}{\sqrt{3+2 x} \sqrt{2+5 x+3 x^2}} \, dx}{13125}\\ &=\frac{183 \sqrt{2+5 x+3 x^2}}{875 (3+2 x)^{3/2}}+\frac{159 \sqrt{2+5 x+3 x^2}}{625 \sqrt{3+2 x}}+\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}+\frac{549 \int \frac{1}{\sqrt{3+2 x} \sqrt{2+5 x+3 x^2}} \, dx}{3500}-\frac{477 \int \frac{\sqrt{3+2 x}}{\sqrt{2+5 x+3 x^2}} \, dx}{2500}\\ &=\frac{183 \sqrt{2+5 x+3 x^2}}{875 (3+2 x)^{3/2}}+\frac{159 \sqrt{2+5 x+3 x^2}}{625 \sqrt{3+2 x}}+\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}+\frac{\left (183 \sqrt{3} \sqrt{-2-5 x-3 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 x^2}{3}}} \, dx,x,\frac{\sqrt{6+6 x}}{\sqrt{2}}\right )}{1750 \sqrt{2+5 x+3 x^2}}-\frac{\left (159 \sqrt{3} \sqrt{-2-5 x-3 x^2}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 x^2}{3}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{6+6 x}}{\sqrt{2}}\right )}{1250 \sqrt{2+5 x+3 x^2}}\\ &=\frac{183 \sqrt{2+5 x+3 x^2}}{875 (3+2 x)^{3/2}}+\frac{159 \sqrt{2+5 x+3 x^2}}{625 \sqrt{3+2 x}}+\frac{(46+139 x) \sqrt{2+5 x+3 x^2}}{175 (3+2 x)^{7/2}}-\frac{159 \sqrt{3} \sqrt{-2-5 x-3 x^2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{1+x}\right )|-\frac{2}{3}\right )}{1250 \sqrt{2+5 x+3 x^2}}+\frac{183 \sqrt{3} \sqrt{-2-5 x-3 x^2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{1+x}\right )|-\frac{2}{3}\right )}{1750 \sqrt{2+5 x+3 x^2}}\\ \end{align*}
Mathematica [A] time = 0.399902, size = 217, normalized size = 1.1 \[ -\frac{6 (2 x+3)^3 \left (-188 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^{3/2} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right ),\frac{3}{5}\right )+742 \left (3 x^2+5 x+2\right )+371 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^{3/2} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right )|\frac{3}{5}\right )\right )-4 \left (3 x^2+5 x+2\right ) \left (8904 x^3+43728 x^2+74557 x+39436\right )}{17500 (2 x+3)^{7/2} \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.034, size = 389, normalized size = 2. \begin{align*} -{\frac{1}{87500} \left ( 1584\,\sqrt{15}{\it EllipticF} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ){x}^{3}\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}-8904\,\sqrt{15}{\it EllipticE} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ){x}^{3}\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}+7128\,\sqrt{15}{\it EllipticF} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ){x}^{2}\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}-40068\,\sqrt{15}{\it EllipticE} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ){x}^{2}\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}+10692\,\sqrt{15}{\it EllipticF} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) x\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}-60102\,\sqrt{15}{\it EllipticE} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) x\sqrt{3+2\,x}\sqrt{-2-2\,x}\sqrt{-20-30\,x}+5346\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-20-30\,x}{\it EllipticF} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) -30051\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-20-30\,x}{\it EllipticE} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) -534240\,{x}^{5}-3514080\,{x}^{4}-9202380\,{x}^{3}-11570980\,{x}^{2}-6925880\,x-1577440 \right ){\frac{1}{\sqrt{3\,{x}^{2}+5\,x+2}}} \left ( 3+2\,x \right ) ^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{\sqrt{3 \, x^{2} + 5 \, x + 2}{\left (x - 5\right )}}{{\left (2 \, x + 3\right )}^{\frac{9}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{3 \, x^{2} + 5 \, x + 2} \sqrt{2 \, x + 3}{\left (x - 5\right )}}{32 \, x^{5} + 240 \, x^{4} + 720 \, x^{3} + 1080 \, x^{2} + 810 \, x + 243}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{\sqrt{3 \, x^{2} + 5 \, x + 2}{\left (x - 5\right )}}{{\left (2 \, x + 3\right )}^{\frac{9}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]